<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>
    
    无敌小笼包</title>
  
    <link rel="shortcut icon" href="/favicon.png">
  
  <link rel="stylesheet" href="/css/style.css">
  
    <link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
  
  <script src="/js/pace.min.js"></script>
</head>

<body>
<main class="content">
  <section class="jumbotron">
  <div class="video">
    
      <div class="video-frame">
        <img src="/images/ocean/overlay-hero.png" alt="Decorative image frame">
      </div>
    
    <div class="video-media">
      <div style="
          display: block;
          width: 100%;
          max-width: 100%;
          height: 100%;
          background-image: url('https://i.qh13.cn/t/1548385428640.png');
          background-position: center center;
          background-repeat: no-repeat;
          background-size: cover;background-attachment: fixed;
          background-color: #464646;"
      >
      </div>
       <!-- <div class="video-overlay"></div> -->
    </div>
    <div class="video-inner text-center text-white">
      <h1><a id="jinrishici-sentence" href="/">无敌小笼包</a></h1>
        <p class="rand-words">不要总是说别人的坏话，不然没人会喜欢你</p>
      <div><img src="/images/hexo-inverted.svg" class="brand" alt="无敌小笼包"></div>
    </div>
    <div class="video-learn-more">
      <a class="anchor" href="#landingpage"><i class="fe fe-mouse"></i></a>
    </div>
  </div>
</section>

<div id="landingpage">
  <section class="outer">
  <article class="articles">
    
    <h1 class="page-type-title"></h1>

    
      
        <article id="post-swoole_1" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/09/10/swoole_1/">swoole 学习第一章 Task进程与Timer进程</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/09/10/swoole_1/" class="article-date">
  <time datetime="2016-09-10T10:29:00.000Z" itemprop="datePublished">2016-09-10</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/publish/">publish</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p><strong>Swoole</strong> 据说是可以php革命的一个东西，更有屌丝说看见swoole如见php的未来一般,作者不才看官方教程实在迷糊，特意花大洋买了视频来看，希望与大家共同进步</p>
        
          <a class="article-more-link" href="/2016/09/10/swoole_1/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/09/10/swoole_1/" data-id="cjrbtw1z000256d8hbn53p3s2"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Swoole/">Swoole</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-yaf04" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/07/31/yaf04/">Yaf---异常和错误 | 路由和分发</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/07/31/yaf04/" class="article-date">
  <time datetime="2016-07-31T15:00:43.000Z" itemprop="datePublished">2016-07-31</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Frame/">Frame</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p>Yaf实现了一套错误和异常捕获机制, 主要是对常见的错误处理和异常捕获方法做了一个简单抽象, 方便应用组织自己的错误统一处理逻辑。前题是需要配置过或是在程序中启用<br>
        
          <a class="article-more-link" href="/2016/07/31/yaf04/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/07/31/yaf04/" data-id="cjrbtw1z400296d8hfd15we5e"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Yaf/">Yaf</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-yaf03" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/07/30/yaf03/">Yaf---Session | 模板 | 模型  | Cli模式</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/07/30/yaf03/" class="article-date">
  <time datetime="2016-07-30T13:22:43.000Z" itemprop="datePublished">2016-07-30</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Frame/">Frame</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p>Yaf_Session是Yaf对Session的包装, 实现了Iterator, ArrayAccess, Countable接口, 方便使用.关于Yaf_Session的文档介绍：<a href="http://www.laruence.com/manual/yaf.class.session.html" target="_blank" rel="noopener">http://www.laruence.com/manual/yaf.class.session.html</a><br>
        
          <a class="article-more-link" href="/2016/07/30/yaf03/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/07/30/yaf03/" data-id="cjrbtw1z6002b6d8hd6zqtofz"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Yaf/">Yaf</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-yaf02" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/07/29/yaf02/">Yaf---加载规则插件使用</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/07/29/yaf02/" class="article-date">
  <time datetime="2016-07-29T14:22:43.000Z" itemprop="datePublished">2016-07-29</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Frame/">Frame</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p>Yaf在自启动的时候, 会通过SPL注册一个自己的Autoloader, 出于性能的考虑, 对于框架相关的MVC类, Yaf Autoloader只以目录映射的方式尝试一次.<br>
        
          <a class="article-more-link" href="/2016/07/29/yaf02/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/07/29/yaf02/" data-id="cjrbtw1zw002v6d8ha2m1s28w"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Yaf/">Yaf</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-yaf01" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/07/28/yaf01/">Yaf---写在前面</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/07/28/yaf01/" class="article-date">
  <time datetime="2016-07-28T15:22:37.000Z" itemprop="datePublished">2016-07-28</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Frame/">Frame</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p>Yaf有着和Zend Framework相似的API, 相似的理念, 而同时又保持着对Bingo的兼容, 以此来提高开发效率, 规范开发习惯. 本着对性能的追求, Yaf把框架中不易变的部分抽象出来,采用PHP扩展实现(c语言),以此来保证性能.在作者自己做的简单测试中, Yaf和原生的PHP在同样功能下, 性能损失小于10%, 而和ZendFramework的对比中, Yaf的性能是Zend Framework的50-60倍.<br>
        
          <a class="article-more-link" href="/2016/07/28/yaf01/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/07/28/yaf01/" data-id="cjrbtw1zr002r6d8htag5lh4t"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Yaf/">Yaf</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-HTTPcode" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/07/07/HTTPcode/">HTTP常见状态码</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/07/07/HTTPcode/" class="article-date">
  <time datetime="2016-07-07T04:47:24.000Z" itemprop="datePublished">2016-07-07</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/HTTP/">HTTP</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p>HTTP 常用状态码 拿出来 用的时候看一看<br>
        
          <a class="article-more-link" href="/2016/07/07/HTTPcode/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/07/07/HTTPcode/" data-id="cjrbtw1xg00046d8h3kz20b1t"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/intellectual/">intellectual</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-monkeyKing" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/06/05/monkeyKing/">猴子选大王算法</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/06/05/monkeyKing/" class="article-date">
  <time datetime="2016-06-05T04:47:24.000Z" itemprop="datePublished">2016-06-05</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Skill/">Skill</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p> 有M个monkey ，转成一圈，第一个开始数数，数到第N个出圈，下一个再从1开始数，再数到第N个出圈，直到圈里只剩最后一个就是大王 【单项循环数据链表】<br>
        
          <a class="article-more-link" href="/2016/06/05/monkeyKing/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/06/05/monkeyKing/" data-id="cjrbtw1y2000v6d8hf5otfj2t"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/算法/">算法</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-phpsingerl" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/05/10/phpsingerl/">PHP 单例模式</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/05/10/phpsingerl/" class="article-date">
  <time datetime="2016-05-10T02:20:12.000Z" itemprop="datePublished">2016-05-10</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Skill/">Skill</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p> 数学与逻辑学中，singleton定义为“有且仅有一个元素的集合”<br>在它的核心结构中只包含一个被称为单例的特殊类。通过单例模式可以保证系统中一个类只有一个实例，节省数据库开销<br>
        
          <a class="article-more-link" href="/2016/05/10/phpsingerl/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/05/10/phpsingerl/" data-id="cjrbtw1y600136d8hosnlhl0g"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Design-Pattern/">Design Pattern</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-php工厂模式" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/05/07/php工厂模式/">PHP plant</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/05/07/php工厂模式/" class="article-date">
  <time datetime="2016-05-07T02:20:12.000Z" itemprop="datePublished">2016-05-07</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Skill/">Skill</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p> 顾名思义，工厂是可以加工零件的，PHP程序中的工厂模式也有相同的功能，可以方便的使用一个静态的工厂方法来实例化某一个类，那么这样做的好处是什么呢？初学PHP的设计模式，实例化一个类会给它一些参数以便在其构析的时候可以根据不同的参数反馈出我们需要的结果。<br>
        
          <a class="article-more-link" href="/2016/05/07/php工厂模式/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/05/07/php工厂模式/" data-id="cjrbtw1yr001w6d8hr5wlsmhl"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Design-Pattern/">Design Pattern</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
        <article id="post-php画图形" class="article article-type-post" itemscope itemprop="blogPost">

  <div class="article-inner">
    
      <header class="article-header">
        
  
    <h2 itemprop="name">
      <a class="article-title" href="/2016/05/05/php画图形/">PHP 画图形 N行N列</a>
    </h2>
  

      </header>
    

    
      <div class="article-meta">
        <a href="/2016/05/05/php画图形/" class="article-date">
  <time datetime="2016-05-05T01:20:12.000Z" itemprop="datePublished">2016-05-05</time>
</a>
        
  <div class="article-category">
    <a class="article-category-link" href="/categories/Skill/">Skill</a>
  </div>

      </div>
    

    <div class="article-entry" itemprop="articleBody">
      
      
      
        <p>写一个函数需要一个参数，根据这个参数输出一个图形<br>
        
          <a class="article-more-link" href="/2016/05/05/php画图形/">阅读全文...</a>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="http://blog.mango16.cc/2016/05/05/php画图形/" data-id="cjrbtw1yo001u6d8hsymow9mz"
         class="article-share-link">分享</a>
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/算法/">算法</a></li></ul>

    </footer>

  </div>

  

  

</article>



      
  </article>
  
  
    <nav class="page-nav">
      
      <a class="extend prev" rel="prev" href="/">前一篇</a><a class="page-number" href="/">1</a><span class="page-number current">2</span><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/3/">后一篇</a>
    </nav>
  
</section>
</div>
<script src="//s4.ssl.qhres.com/static/ed286845be179ccf.js" charset="utf-8"></script>

  <footer class="footer">
  
  <div class="outer">
    <ul class="list-inline">
      <li>&copy; 2019 无敌小笼包</li>
      <i class="pulse"></i>
    </ul>
  </div>
</footer>

</main>
<aside class="sidebar">
  <button class="navbar-toggle"></button>

<nav class="navbar">
  
    <div class="logo">
      <a href="/"><img src="/images/hexo.svg" alt="无敌小笼包"></a>
    </div>
  
  <ul class="nav nav-main">
    
      <li class="nav-item">
        <a class="nav-item-link" href="/">主页</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/archives">归档</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/gallery">相册</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/nagging">叽咕</a>
      </li>
    
      <li class="nav-item">
        <a class="nav-item-link" href="/about">关于</a>
      </li>
    
    <li class="nav-item">
      <a class="nav-item-link nav-item-search" title="Search">
        <i class="fe fe-search"></i>
        搜索
      </a>
    </li>
  </ul>
</nav>

<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
        <a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
          <i class="fe fe-feed"></i>
        </a>
      
    </li>
  </ul>
</nav>

<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
</aside>
  <script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/lazyload.min.js"></script>


  <script src="/fancybox/jquery.fancybox.min.js"></script>



  <script src="/js/search.js"></script>


<script src="/js/ocean.js"></script>

</body>
</html>